dCtlFlags
field of my
Device Control Entry (DCE) has some undocumented bits set.
What do these flags mean?dCtlFlags
field of the DCE are:VMImmune
-- This bit indicates that your device driver is VM
safe. See
Technote NW 13 for details.
kmDriverGestaltEnableMask
(in "DriverGestalt.h") is set if the
driver supports the Driver Gestalt mechanism. See "Designing PCI Cards and
Drivers for Power Macintosh Computers" for a description of Driver Gestalt.
ndrv
).
The system will set this bit when it loads your native driver.
kDriverIsConcurrent
field of the driverOSRuntimeInfo.driverRuntime
field of your
DriverDescription. See "Designing PCI Cards and Drivers for Power Macintosh
Computers" for a description of concurrent drivers.
dOpenedMask
(in "Devices.h") is set if the driver is open.
dRAMBasedMask
(in "Devices.h") is set if the dCtlDriver
field
is a DRVRHeaderHandle
rather than aDRVRHeaderPtr
.
drvrActiveMask
(in "Devices.h") is set if the driver is
currently processing a request.
dReadEnableMask
(in "Devices.h") is set if the driver handles
_Read requests.
dWritEnableMask
(in "Devices.h") is set if the driver handles
_Write requests.
dCtlEnableMask
(in "Devices.h") is set if the driver handles
_Control requests.
dStatEnableMask
(in "Devices.h") is set if the driver handles
_Status requests.
dNeedGoodByeMask
(in "Devices.h") is set if the driver needs a
"goodbye" _Control call before the application heap is reinitialized.
dNeedTimeMask
(in "Devices.h") is set if the driver wants
periodic SystemTask time through the "accRun" _Control call.
dNeedLockMask
(in "Devices.h") is set if the driver requires
that its DCE and code be locked at all times when the driver is open.
See "Inside Macintosh:Devices" for more information about bits 5 through to 14.